<template>
    <div>
        <div class="preview-title">
            <h2>{{ props.title }}</h2>
            <div class="title-separate"></div>
            <p>更多展览</p>
        </div>
    </div>
</template>

<script setup>
const props = defineProps({
    title: {
        type: String,
        default: "展览预告"
    }
})
</script>

<style lang="scss" scoped>
.preview-title {
    writing-mode: vertical-lr;
    display: flex;
    justify-content: space-around;
    height: 670px;

    .title-separate {
        height: 300px;
        width: 35px;
        border-right: 1px dashed black;
    }

    h2 {
        font-size: 44px;
        color: #333;
        font-weight: normal;
    }

    p {
        font-size: 16px;
        color: black;
        line-height: 70px;
    }
}
</style>